package cn.com.connected.dto;

import cn.com.connected.base.annotations.Img;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
/**
 * 动态
 * 
 * @author sms
 * @email sms@live.com
 * @date 2025-04-10 16:15:14
 */
@Data
@ApiModel(description = "动态")
public class DynamicDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ip",hidden = true)
    private String ip;

    @ApiModelProperty(value = "ip对应城市",hidden = true)
    private String ipCityName;

    @ApiModelProperty(value = "精度")
    private Double latitude;

    @ApiModelProperty(value = "纬度")
    private Double longitude;

    @ApiModelProperty(value = "地区名字")
    private String addressName;

    @NotEmpty(message = "请输入 关键词")
    @ApiModelProperty(value = "关键词")
    private String keyword;

    @NotEmpty(message = "请输入 内容")
    @ApiModelProperty(value = "内容")
    private String content;

    @Img
    @ApiModelProperty(value = "图片,")
    private List<String> imgs;

    @Img
    @ApiModelProperty(value = "视频,")
    private List<String> videos;

}